// Copyright 2009 the Sputnik authors.  All rights reserved.
/**
 * The PropertyName is undefined, ToString(BooleanLiteral), ToString(nullLiteral)
 *
 * @path ch11/11.1/11.1.5/S11.1.5_A4.3.js
 * @description Creating properties with following names: undefined, 'true', 'null'
 */

//CHECK#1
var object = {undefined : true};
if (object.undefined !== true) {
  $ERROR('#1: var object = {undefined : true}; object.undefined === true');
}

//CHECK#2
var object = {undefined : true};
if (object["undefined"] !== true) {
  $ERROR('#2: var object = {undefined : true}; object["undefined"] === true');
}

//CHECK#3
var object = {"true" : true};
if (object["true"] !== true) {
  $ERROR('#3: var object = {"true" : true}; object["true"] === true');
}

//CHECK#4
var object = {"null" : true};
if (object["null"] !== true) {
  $ERROR('#4: var object = {"null" : true}; object["null"] === true');
}

